package edu.umassd.visual.options;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.umassd.visual.View;

@Component("fit")
public class FitToScreen implements ActionListener
{
	@Autowired
	private View view;

	@Override
	public void actionPerformed(ActionEvent e)
	{
		view.fitToScreen();
	}
}
